<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SuperOcean</title>
<link href="<?php echo base_url().'asset/'?>css/style.css" rel="stylesheet" type="text/css" />
</head>
        <div id="home_title"><img src="<?php echo base_url().'asset/'?>images/title_icon.png" /> Chi tiết khóa lặn</div> 
        
        <div id="home_cate"><?php echo $ttkl->tenkl?></div>
        <div class="clean0"></div>
              
        	<div id="chitiet_images"><img src="<?php echo base_url().'asset/'?>images/<?php echo $ttkl->hinh?>" /></div>
        	<div id="chitiet_text">
				<?php echo $ttkl->mota?>                
          </div>  
          <div class="clean0"></div>
          <div id="chitiet_zoom"><a href="#">Zoom</a></div>
            <div id="chitiet_info"><span style="color:#ff0000; font-size:18px;">Giá: <?php echo $ttkl->gia?>$</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="#"><img src="<?php echo base_url().'asset/'?>images/join01.jpg" /></a>  
           	</div>      
            
        <div class="clean30"></div>    
        <div id="home_title"><img src="<?php echo base_url().'asset/'?>images/title_icon.png" /> Các khóa lặn khác</div> 
        
       <?php 
		
		foreach($dskl as $kl)
			echo '<div id="home_each">    
        <div id="home_cate">'.anchor('khoalan/chitietkl/'.$kl->makl.'/'.$kl->madm, $kl->tenkl).'</div>
        <div class="clean0"></div>
        
        <div id="home_content" style="margin-top:20px;">        
        	<div id="home_images">'.anchor('khoalan/chitietkl/'.$kl->makl.'/'.$kl->madm, '<img src="'. base_url().'asset/images/'.$kl->hinh.'" />').'</div>
        	<div id="home_text">
				'.$kl->mota.'
                <div class="clean0"></div>
          </div>  
            <div id="home_info"><span style="color:#ff0000; font-size:18px;">Giá: '.$kl->gia.'$</span>&nbsp;&nbsp;&nbsp;
            	<a href="#"><img src="'. base_url().'asset/images/join01.jpg" /></a>&nbsp;&nbsp;&nbsp;
           		'.anchor('khoalan/chitietkl/'.$kl->makl.'/'.$kl->madm, 'Chi tiết').'</div>      

     		</div>
       </div>';
		?>
        
                
        